package com.wxw.gulidemo.service;

import com.wxw.gulidemo.entity.EduChapter;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wxw.gulidemo.entity.vo.ChapterVo;

import java.util.List;

/**
 * <p>
 * 课程 服务类
 * </p>
 *
 * @author xinxinzi
 * @since 2022-06-01
 */
public interface IEduChapterService extends IService<EduChapter> {

    List<ChapterVo> getChapterVideoByCourseId(String courseId);

    boolean deleteChapter(String chapterId);

    void removeChapterByCourseId(String id);
}
